﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Platform.Model.Validations
{
	/// <summary>
	/// Giao dien kiem tra tinh hop le cua du lieu
	/// </summary>
	/// <typeparam name="T">Kieu du lieu cua doi tuong can kiem tra tinh hop le</typeparam>
	public interface IValidator<in T> where T : class, new()
	{
		ValidationResult Validate(T obj);
	}
}
